﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 交通工具
{
    internal class Truck : Vehicles
    {
        private float load;

        public Truck(string brand, string color, float load): base(brand, color)
        {
            this.load = load;
        }

        public void ShowTruck()
        {
            Console.WriteLine($"卡车信息: 商标:{brand}, 颜色: {color}, 载重:{load}");
        }
    }
}
